package com.hzy.fivepalace.wx.dao;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
@ApiModel(value = "微信登录对象")
@Data
public class WxLoginInfo implements Serializable {

	private static final long serialVersionUID = -7722430332896313642L;

	@ApiModelProperty(value = "微信的openid,必传",required = true)
	private String openid;

	@ApiModelProperty(value = "微信的sessionKey,必传",required = true)
	private String sessionKey;

	@ApiModelProperty(value = "微信的encryptedData,必传",required = true)
	private String encryptedData;

	@ApiModelProperty(value = "微信的iv,必传",required = true)
	private String iv;

	@ApiModelProperty(value = "微信用户头像地址,非必传")
	private String avatarUrl;

	@ApiModelProperty(value = "微信用户昵称,非必传")
	private String nickName;

	@ApiModelProperty(value = "微信用户性别,0男,1女,非必传")
	private Integer gender;


	@ApiModelProperty(value="推荐码,非必填")
	private String recodeCode;

}
